package com.sptpc.dao;

import com.sptpc.domain.Reader;

import org.apache.ibatis.annotations.Param;

public interface UserMapper {
	Reader findUserByIdAndPwd(@Param("id") String id, @Param("password") String password);

	int updateAllById(Reader reader);

	int updatePwdById(@Param("newpass") String newpass, @Param("id") String id , @Param("pass") String pass);

	int addReader(Reader reader);
}
